﻿namespace FFF.Test.Application.Repositories.Demo
{
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Demo;

    /// <summary>
    /// 获取分组等级输入Dto
    /// </summary>
    /// <remarks>ydm</remarks>
    public class GetStuGroupGradeInDto
    {
        /// <summary>
        /// 性别
        /// </summary>
        /// <value>The is man.</value>
        /// <remarks>ydm</remarks>
        [Display(Name = "性别", Description = "性别")]
        [Column("IsMan")]
        public byte IsMan { get; set; }
    }

    /// <summary>
    /// 学生等级分组输出Dto
    /// </summary>
    /// <remarks>ydm</remarks>
    [AutoMapFrom(typeof(DemoStudent2Entity))]
    public class GetStuGroupGradeOutDto
    {
        /// <summary>
        /// 性别
        /// </summary>
        /// <value>The is man.</value>
        /// <remarks>ydm</remarks>
        [Display(Name = "性别", Description = "性别")]
        [Column("IsMan")]
        public byte? IsMan { get; set; }

        /// <summary>
        /// 学生等级(1,学霸;2,普通;3,学渣)
        /// </summary>
        [Display(Name = "学生等级(1,学霸;2,普通;3,学渣)", Description = "学生等级(1,学霸;2,普通;3,学渣)")]
        [Column("StudentLevel")]
        public DemoStudent2StudentLevelEnum StudentLevel { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        /// <value>The count.</value>
        /// <remarks>ydm</remarks>
        public int Count { get; set; }
    }
}
